home *** CD-ROM | disk | FTP | other *** search
/ The Business Master (3rd Edition) / The Business Master (3rd Edition).iso / files / business / popfrm11 / instpfrm.bat < prev    next >
Encoding:
DOS Batch File  |  1989-06-05  |  1.8 KB  |  69 lines

  1. echo off
  2. cls
  3. if %2x==x goto NODRIVE
  4. echo All disk drive designations must end with colons.  For instance, drive C
  5. echo is designated as "C:", not "C".  Make absolutely sure that you have desig-
  6. echo nated your hard disk correctly.
  7. echo .
  8. echo If your hard disk is not "%2", then press Control-C to abort; otherwise,
  9. pause
  10. echo off
  11. cls
  12. %2
  13. cd\
  14. md popform
  15. cd\popform
  16. echo Copying files...
  17. copy %1pfrm.exe
  18. cls
  19. if exist %1upgrd.exe copy %1upgrd.exe
  20. :SKIPMISC
  21. if exist upgrd.com erase upgrd.com
  22. if exist pf.exe erase pf.exe
  23. if exist pf.hlp erase pf.hlp
  24. if exist pf.doc erase pf.doc
  25. if exist label.frm erase label.frm
  26. if exist rprtcard.frm erase rprtcard.frm
  27. if exist letter.frm erase letter.frm
  28. if exist check.frm erase check.frm
  29. if exist testdata erase testdata
  30. if exist formed.exe erase formed.exe
  31. pfrm
  32. erase pfrm.exe
  33. upgrd %2
  34. erase upgrd.*
  35. cls
  36. echo The instructions must be printed.
  37. echo .
  38. echo .
  39. echo Now, turn your printer OFF and then ON.  Make sure that it is ready to
  40. echo print and that you have loaded at least 40 sheets of paper.  Then, align
  41. echo the print head 1/2" below the top of the first sheet.
  42. echo .
  43. pause
  44. cls
  45. echo Printing documentation...
  46. type PF.DOC >prn
  47. :SKIPPRINT
  48. cls
  49. echo .
  50. echo PopForm is now installed on your hard disk in the POPFORM directory. To
  51. echo access the program, do the following:
  52. echo .
  53. echo     1) enter "%2" at the prompt (this logs you onto drive %2);
  54. echo     2) enter "CD\POPFORM" at the prompt ("CD" means "Change Dirctory");
  55. echo     3) enter "PF" at the prompt.
  56. echo .
  57. echo .
  58. cd %1\
  59. goto END
  60. :NODRIVE
  61. cls
  62. echo .
  63. echo      You must designate BOTH the SOURCE diskette and the HARD disk
  64. echo .
  65. echo example:  B:INSTPFRM B: C:   will install PopForm from drive B to drive C:
  66. echo .
  67. echo            PLEASE TRY AGAIN
  68. :END
  69.